TranslateBy(Double,DoubleRange) Method
Translates the min and max of the input range by the specified data value. Specific implementations of ICoordinateCalculator<T> such as DoubleCoordinateCalculator, LogarithmicDoubleCoordinateCalculator and CategoryCoordinateCalculator will treat this differently.
Syntax
DoubleRange TranslateBy( double pixels, DoubleRange inputRange )
Parameters
- pixels
- The number of pixels to translate by. InputRange min and max will be translated by this positive or negative amount
- inputRange
- The input SciChart.Data.Model.DoubleRange to translate
Return Value
A new instance of CategoryCoordinateCalculator with the translation applied
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also